﻿@model Promocot.Models.Costopromocion




  @using (Ajax.BeginForm("Actualizar_dt", new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "detalle_tarifa", OnSuccess = "exito_act_dt"}))
       { 
               @Html.ValidationSummary(true)
<table>
<tr>
<td>Moneda:</td>
</tr>
<tr>
<td>@Html.DropDownListFor(model => model.cod_moneda, new SelectList(ViewBag.monedas, "cod_moneda", "abreviacion"))</td>
</tr>

<tr>
<td>Costo:</td>
</tr>
<tr><td>@Html.EditorFor(model => model.monto)
       @Html.ValidationMessageFor(model => model.monto)</td>
</tr>
<tr>
<td>descripcion:</td>
</tr>
<tr>
<td>@Html.TextAreaFor(model => model.descripcion)
@Html.ValidationMessageFor(model => model.descripcion)</td>
</tr>
<tr>
<td>@Html.HiddenFor(model => model.cod_promocion)</td>
<td>@Html.HiddenFor(model => model.Id)</td>
</tr>
<tr><td><input type="submit" value="Actualizar detalle de tarifa"/></td></tr>  
</table>  
           }    